<?xml version="1.0" encoding="windows-1252"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type"
	content="text/html; charset=windows-1252" />
<title>Yamazure :: Person List</title>
	<link media="all" type="text/css" rel="stylesheet" href="/yamazure/css/excite-bike/jquery-ui-1.8.18.custom.css"/>
	<link media="all" type="text/css" rel="stylesheet" href="/yamazure/css/bootstrap.css" />
	<link media="all" type="text/css" rel="stylesheet" href="/yamazure/css/additional.css" />
	<link media="all" type="text/css" rel="stylesheet" href="/yamazure/css/responsive.css" />
</head>
<body>
<div class="navbar navbar-fixed-top">
   <div class="navbar-inner">
     <div class="container">
       <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
         <span class="icon-bar"></span>
         <span class="icon-bar"></span>
         <span class="icon-bar"></span>
       </a>
       <a class="brand" href="#">
       		Yamazure&nbsp;&nbsp;&nbsp;&nbsp;
       </a>
     </div>
   </div>
 </div>
 
<div class="container">

#if ($person.isEmpty()) No person #else

<table class="table table-condensed">
	<tr>
		<td>None</td>
		<td><input type="button" class="btn btn-danger"
			onClick="javascript:window.opener.document.getElementById('child').value='';window.opener.document.getElementById('childName').value='None';window.close();"
			value="Set" /></td>
	</tr>
	#foreach ($i in $list)
	<form action="/yamazure/person/$person.id/child" method="post">
	<tr>
		<td>$i.firstName</td>
		<td>
		<input type="hidden" name="childId" id="child" value="$i.id" /> 
		<input class="btn btn-success" type="submit" value="Add" onclick="" /></td>
	</tr>
	</form>
	#end
</table>
#end

</div>
		<script src="/yamazure/js/jquery-1.7.1.min.js"></script>
		<script src="/yamazure/js/jquery-ui-1.8.18.custom.min.js"></script>
		<script src="/yamazure/js/bootstrap.js"></script>
</body>
</html>
